var ht = require('../monitor/detector/http');
var dns = require('../monitor/detector/dns');


ht.detect({
  timeout:5000,
  url:'http://tieba.baidu.com/'
},function(data){
  console.log(data);
});




// setTimeout(function(){
//   console.log(123);
// }, 10000);
// dns.detect({
//   name:'baidu.com',
//   timeout: 2000,
//   ns:'114.114.114.114'
// },function(data){
//   console.log(data);
// });